import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
import 'normalize.css'
import './index.css'
import {HashRouter,BrowserRouter} from 'react-router-dom' //两种路由模式
import { ConfigProvider } from 'antd'

ReactDOM.createRoot(document.getElementById('root')!).render(
  // <React.StrictMode>
    <HashRouter>
      <ConfigProvider
        theme={{
          token: {
            // Seed Token，影响范围大
            colorPrimary: '#6E48C2',
            borderRadius: 2,

            // 派生变量，影响范围小
            // colorBgContainer: '#f6ffed',
          },
        }}
      >
        
          <App />
      </ConfigProvider>
    </HashRouter>
  // </React.StrictMode>,
)
